#nav, #nav ul
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-position: outside;
    position: relative;
    font-weight: bold;
}

#nav a
{
    text-transform: uppercase;
    color: #717171;
    background: url("/App_Themes/ITCompany/Images/seperator.png") no-repeat scroll right 0 transparent;
    height: 29px;
    padding: 16px 30px 0 30px;
    display: block;
    text-decoration: none;
}

#nav a:hover
{
    color: #FC2E0A;
}

#nav li
{
    float: left;
    position: relative;
    z-index: 10;
}

#nav ul
{
    position: absolute;
    display: none;
    border: none;
    background: url("/App_Themes/ITCompany/Images/sub-menu-ul.png") no-repeat scroll 0 0px transparent;
    padding-top: 12px;
    float: left;
    width: 289px;
}

#nav li ul a, #nav li ul li ul a
{
    float: left;
    height: 24px;
    background: url("/App_Themes/ITCompany/Images/sub-menu.png") no-repeat scroll 0 0px transparent;
    width: 265px;
    text-transform: none;
    padding: 12px 0 0 24px;
}

#nav li ul a.first, #nav li ul > :first-child > :first-child
{
    background: url("/App_Themes/ITCompany/Images/sub-menu-top.png") no-repeat scroll 0 0px transparent;
    height: 23px;
    padding: 8px 0 0 24px;
}

#nav li ul a.bottom, #nav li ul > :last-child > :first-child
{
    background: url("/App_Themes/ITCompany/Images/sub-menu-bottom.png") no-repeat scroll 0 0px transparent;
    height: 31px;
    padding: 10px 0 0 24px;
}

#nav ul ul
{
    top: auto;
}

#nav li ul ul
{
    left: 275px;
    margin: 0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul
{
    display: none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul
{
    display: block;
}

/*BreadCrumb Navigation*/
#breadcrumb
{
    font: 11px Arial, Helvetica, sans-serif;
    background-image: url('images/bc_bg.png');
    background-repeat: repeat-x;
    height: 30px;
    line-height: 30px;
    color: #9b9b9b;
    border: solid 1px #cacaca;
    width: 100%;
    overflow: hidden;
    margin: 0 0 10px 0;
    padding: 0px;
}
#breadcrumb li
{
    list-style-type: none;
    float: left;
    padding-left: 10px;
}
#breadcrumb a
{
    height: 30px;
    display: block;
    background-image: url('images/bc_separator.png');
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 15px;
    text-decoration: none;
    color: #454545;
}
#breadcrumb a:hover
{
    color: #35acc5;
}
#breadcrumb a img
{
    margin: 6px 0 0 0;
}

/*Mega Dropdown */
#TopBarMenu
{
}

#TopBarMenu li
{
    position: relative;
}

#TopBarMenu li.mega:hover
{
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
}

#TopBarMenu li a
{
}

#TopBarMenu li:hover a
{
}
#TopBarMenu li .drop
{
    padding-right: 21px;
    background: url("images/drop.png") no-repeat right 5px;
}
#TopBarMenu li:hover .drop
{
    background: url("images/drop.png") no-repeat right 4px;
}

.dropdown_1column, .dropdown_2columns, .dropdown_3columns, .dropdown_4columns, .dropdown_5columns
{
    margin: 4px auto;
    float: left;
    position: absolute;
    left: -999em; /* Hides the drop down */
    text-align: left;
    padding: 10px 5px 10px 5px;
    border: 1px solid #CCC;
    border-top: none; /* Gradient background */
    background: #F4F4F4;
    background: -moz-linear-gradient(top, #FFF, #EEEEEE);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB)); /* Rounded Corners */
    -moz-border-radius: 0px 5px 5px 0px;
    -webkit-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
}

.dropdown_1column
{
    width: 140px;
}
.dropdown_2columns
{
    width: 280px;
}
.dropdown_3columns
{
    width: 420px;
}
.dropdown_4columns
{
    width: 560px;
}
.dropdown_5columns
{
    width: 700px;
}

#TopBarMenu li:hover .dropdown_1column, #TopBarMenu li:hover .dropdown_2columns, #TopBarMenu li:hover .dropdown_3columns, #TopBarMenu li:hover .dropdown_4columns, #TopBarMenu li:hover .dropdown_5columns
{
    left: 0px;
    top: auto;
}

.col_1, .col_2, .col_3, .col_4, .col_5
{
    display: inline;
    float: left;
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
}
.col_1
{
    width: 130px;
}
.col_2
{
    width: 270px;
}
.col_3
{
    width: 410px;
}
.col_4
{
    width: 550px;
}
.col_5
{
    width: 690px;
}

#TopBarMenu .menu_right
{
    float: right;
    margin-right: 0px;
}
#TopBarMenu li .align_right
{
    /* Rounded Corners */
    -moz-border-radius: 5px 0px 5px 5px;
    -webkit-border-radius: 5px 0px 5px 5px;
    border-radius: 5px 0px 5px 5px;
}

#TopBarMenu li:hover .align_right
{
    left: auto;
    right: -1px;
    top: auto;
}

#TopBarMenu p, #TopBarMenu h2, #TopBarMenu h3, #TopBarMenu ul li
{
    font-family: Arial, Helvetica, sans-serif;
    line-height: 21px;
    font-size: 12px;
    text-align: left;
    text-shadow: 1px 1px 1px #FFFFFF;
}
#TopBarMenu h2
{
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -1px;
    margin: 7px 0 14px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #666666;
}
#TopBarMenu h3
{
    font-size: 14px;
    margin: 7px 0 14px 0;
    padding-bottom: 7px;
    border-bottom: 1px solid #888888;
}
#TopBarMenu p
{
    line-height: 18px;
    margin: 0 0 10px 0;
}

#TopBarMenu li:hover div a
{
    font-size: 12px;
    color: #015b86;
}
#TopBarMenu li:hover div a:hover
{
    color: #029feb;
}


.strong
{
    font-weight: bold;
}
.italic
{
    font-style: italic;
}

.imgshadow
{
    /* Better style on light background */
    background: #FFFFFF;
    padding: 4px;
    border: 1px solid #777777;
    margin-top: 5px;
    -moz-box-shadow: 0px 0px 5px #666666;
    -webkit-box-shadow: 0px 0px 5px #666666;
    box-shadow: 0px 0px 5px #666666;
}
.img_left
{
    /* Image sticks to the left */
    width: auto;
    float: left;
    margin: 5px 15px 5px 5px;
}

#TopBarMenu li .black_box
{
    background-color: #333333;
    color: #eeeeee;
    text-shadow: 1px 1px 1px #000;
    padding: 4px 6px 4px 6px; /* Rounded Corners */
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* Shadow */
    -webkit-box-shadow: inset 0 0 3px #000000;
    -moz-box-shadow: inset 0 0 3px #000000;
    box-shadow: inset 0 0 3px #000000;
}

#TopBarMenu li ul
{
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}
#TopBarMenu li ul li
{
    font-size: 12px;
    line-height: 24px;
    position: relative;
    text-shadow: 1px 1px 1px #ffffff;
    padding: 0;
    margin: 0;
    float: none;
    text-align: left;
    width: 130px;
}
#TopBarMenu li ul li:hover
{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

#TopBarMenu li .greybox li
{
    background: #F4F4F4;
    border: 1px solid #bbbbbb;
    margin: 0px 0px 4px 0px;
    padding: 4px 6px 4px 6px;
    width: 116px; /* Rounded Corners */
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}
#TopBarMenu li .greybox li:hover
{
    background: #ffffff;
    border: 1px solid #aaaaaa;
    padding: 4px 6px 4px 6px;
    margin: 0px 0px 4px 0px;
}
